作者:手机用户2602904645 | 来源:互联网 | 2023-07-19 12:27
FromLinuxdocumentation,POLLOUTmeansNormaldatamaybewrittenwithoutblocking.Well,butthis
From Linux documentation, POLLOUT
means Normal data may be written without blocking. Well, but this explanation is ambigous. How much data is it possible to write without blocking after poll
reported this event? 1 byte? 2 bytes? Gigabyte? After POLLOUT
event on blocking socket, how to check how much data I can send to socket without block?
从Linux文档中,POLLOUT意味着可以在不阻塞的情况下写入普通数据。好吧,但这个解释很暧昧。民意调查报告此事件后,可以在没有阻止的情况下写入多少数据? 1个字节? 2个字节?技嘉?在阻塞套接字上的POLLOUT事件之后,如何检查我可以在没有阻塞的情况下向套接字发送多少数据?
2 个解决方案